<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>rsyslog</Name>
        <Homepage>http://www.rsyslog.com</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3+</License>
        <IsA>service</IsA>
        <Summary>Enhanced system logging and kernel message trapping daemons</Summary>
        <Description>rsyslog is an enhanced multi-threaded syslogd supporting, among others, MySQL, syslog/tcp, RFC 3195, permitted sender lists, filtering on any message part, and fine grain output format control. It is quite compatible with stock sysklogd and can be used as a drop-in replacement.</Description>
        <Archive sha1sum="615ee5b47ca4c3a28de3c8ee4477c721c20f31aa" type="targz">http://www.rsyslog.com/files/download/rsyslog/rsyslog-8.24.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>json-c-devel</Dependency>
            <Dependency>libestr-devel</Dependency>
            <Dependency>libgcrypt-devel</Dependency>
            <Dependency>liblogging-devel</Dependency>
            <Dependency>libfastjson-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>rsyslog</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>json-c</Dependency>
            <Dependency>libestr</Dependency>
            <Dependency>libgcrypt</Dependency>
            <Dependency>liblogging</Dependency>
            <Dependency>libfastjson</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/rsyslogd</Path>
            <Path fileType="library">/usr/lib/rsyslog</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="config">/etc/logrotate.d</Path>
            <Path fileType="config">/etc/conf.d</Path>
            <Path fileType="config">/etc/rsyslog.d</Path>
            <Path fileType="config">/etc/rsyslog.conf</Path>
            <Path fileType="data">/var</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/logrotate.d/rsyslog">rsyslog.logrotate</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/rsyslog.conf">rsyslog.conf</AdditionalFile>
	    <AdditionalFile owner="root" permission="0644" target="/etc/rsyslog.d/50-default.conf">50-default.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/rsyslog">rsyslog.sysconfig</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-30</Date>
            <Version>8.24.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>8.11.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-13</Date>
            <Version>8.11.0</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
